package com.gxa.service.impl;

import com.gxa.common.LayR;
import com.gxa.mapper.ValueMapper;
import com.gxa.pojo.Value;
import com.gxa.service.valueService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
public class valueServiceImpl implements valueService {

    @Autowired
    private ValueMapper mapper;

    @Override
    public LayR findAll() {
        List<Value> all=mapper.findAll();

        return new LayR(200,"success",all);
    }
}
